<!--  -->
<template>
  <div class='wave-warp'>
      <div class='warp-mount'>
          <div v-for="i in 100" :key='i' class='wave-box' :class="i%2==0?'single':'double'" :style="{left:`${100*i}px`}"></div>
      </div>
      <div class='wave-inner'></div>
  </div>
</template>

<script>
export default {
  data () {
    return {
    };
  },

  components: {},

  computed: {},

  mounted(){},

  methods: {}
}

</script>
<style lang='scss' scoped>
.wave-warp{
    width: 600px;
    height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border:1px solid #ddd;
    overflow: hidden;
    .warp-mount{
        position: relative;
        z-index: 2;
        top:100px;
        display: flex;
        overflow: auto;
        .wave-box{
            position: absolute;
            min-width: 200px;
            height: 200px;
            border-radius: 100%;
            padding: 20px;
        }
        .single{
            background-color: rgb(57, 225, 255);
        }
        .double{
            position: relative;
            background-color: rgb(255, 255, 255);
        }
    }
    .wave-inner{
        width: 600px;
        height: 400px;
        position: relative;
        z-index: 1;
        background-color: rgb(57, 225, 255);
    }
     ::-webkit-scrollbar{
   width: 5px;
   height: 10px;
   display: none;
 }
 ::-webkit-scrollbar-track-piece{
   background-color: rgba(0, 0, 0, 0.1);
   -webkit-border-radius: 6px;
 }
 ::-webkit-scrollbar-thumb:vertical{
   height: 5px;
   background-color: rgba(125, 125, 125, 0.7);
   -webkit-border-radius: 6px;
 }
 ::-webkit-scrollbar-thumb:horizontal{
   width: 5px;
   background-color: rgba(125, 125, 125, 0.7);
   -webkit-border-radius: 6px;
 }
}
</style>